We are migrating the bug tracker to github Issues. This is now the preferred way to report NASM bugs.

Self-registration is disabled due to spam issue (mail gorcunov@gmail.com or hpa@zytor.com to create an account)

Bug 3392541 - Specifying memory operand size causes an error with latest git revision
Summary: Specifying memory operand size causes an error with latest git revision
Status: RESOLVED FIXED
Alias: None
Product: NASM
Classification: Unclassified
Component: Assembler (show other bugs)
Version: 2.15.xx
Hardware: All All
: High severe
Assignee: nobody
URL:
Depends on:
Blocks:
 
Reported: 2018-12-28 13:57 PST by E. C. Masloch
Modified: 2018-12-30 04:19 PST (History)
5 users (show)

Obtained from: Built from git using configure
Generated by: ---
Bug category:
Observed for: ---
Regression: ---
Regression since:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. C. Masloch 2018-12-28 13:57:42 PST
$ cat test.asm
        mov al, byte [ bx ]
        mov al, [ bx ]

$ nasm -v
NASM version 2.15rc0 compiled on Dec 28 2018
$ nasm test.asm
test.asm:1: error: comma, colon, decorator or end of line expected after operand
$ (cd ../nasm/ && git describe)
nasm-2.14.03rc1-287-ge88f752e
$
Comment 1 H. Peter Anvin 2018-12-28 14:08:58 PST
This is almost certainly due to a missed TOKEN_SIZE conversion.
Comment 2 E. C. Masloch 2018-12-28 14:16:25 PST
In nasm-2.14.03rc1 it works as expected.
Comment 3 E. C. Masloch 2018-12-30 04:19:43 PST
Fixed in gef4f23d7.